import {Action} from "@/types/utils";

export interface ColumnPopupProps<V> {
    columns: any[];
    value: V[],
    valueKey: string;
    max?: number;
    min?: number;
    dispatch: (action: Action) => void;
    isVisible: boolean;
    title?: string;
    confirmText?: string;
    onConfirm: (dates: string[]) => void;
    onCancel?: () => void;
    cancelText?: string;
}